<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  {{info}}
  <!-- v-model="变量", 是双向绑定, 变量值的改变会影响页面控件, 控件值的改变也会影响变量 -->
  <input type="text" v-model:value="info">
  <h3>注册页面</h3>
  <input type="text" placeholder="请输入用户名" v-model="user.username">
  <input type="password" placeholder="请输入密码" v-model="user.password">
</div>
<script src="js/vue.min.js"></script>
<script>
  let v = new Vue({
    el:"body>div",
    data:{
      info:"双向绑定",
      user:{username:"",password:""}
    }
  })
</script>
</body>
</html>